#include <cstdio>

int main( )
{
    int n, m;
    double re;
    while ( scanf("%d%d", &n, &m) != EOF )
        printf("%.2lf\n", 1.0 / n);
    return 0;
}
